package com.zoffy.ybuhelper.database;

import androidx.room.Database;
import androidx.room.RoomDatabase;
import com.zoffy.ybuhelper.dao.*;
import com.zoffy.ybuhelper.pojo.entity.*;

@Database(entities = {Category.class, Origin.class, Menu.class, MenuCategory.class, Message.class},
        version = 1,exportSchema = false)
public abstract class YBUDatabase extends RoomDatabase {

    public abstract MessageDao messageDao();
    public abstract CategoryDao categoryDao();
    public abstract OriginDao originDao();
    public abstract MenuDao menuDao();
    public abstract MenuCategoryDao menuCategoryDao();
    public abstract EatDao eatDao();
}
